
package ciicos.equ.service;

import ciicos.equ.entity.UpkeepRecordEntity;
import ciicos.equ.model.upkeeprecord.UpkeepRecordForm;
import ciicos.equ.model.upkeeprecord.UpkeepRecordPagination;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * upkeepRecord
 * 版本： V3.2.0
 * 版权：
 * 作者： 企业研发中心
 * 日期： 2024-03-12
 */
public interface UpkeepRecordService extends IService<UpkeepRecordEntity> {


    List<UpkeepRecordEntity> getList(UpkeepRecordPagination upkeepRecordPagination);

    List<UpkeepRecordEntity> getTypeList(UpkeepRecordPagination upkeepRecordPagination, String dataType);


    UpkeepRecordEntity getInfo(String id);

    void delete(UpkeepRecordEntity entity);

    void create(UpkeepRecordEntity entity);

    boolean update(String id, UpkeepRecordEntity entity);

//  子表方法

    //列表子表数据方法

    //验证表单
    String checkForm(UpkeepRecordForm form, int i);
}
